\hypertarget{class_graph}{\section{Graph$<$ T $>$ Class Template Reference}
\label{class_graph}\index{Graph$<$ T $>$@{Graph$<$ T $>$}}
}


{\ttfamily \#include $<$Graph.\-h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_graph_a8c626ac04708ae490bba05e1e713cda2}{Graph} ()
\item 
\hyperlink{class_graph_a43eab1460b5c8ceaa526b40e56a0fb0c}{$\sim$\-Graph} ()
\item 
void \hyperlink{class_graph_aa01a2734cac2bcb166a537de98af41f4}{add\-Node} (\hyperlink{class_node}{Node}$<$ T $>$ $\ast$node)
\item 
void \hyperlink{class_graph_a061fe121d976747e9c63a372243b1b76}{delete\-Node} (\hyperlink{class_node}{Node}$<$ T $>$ $\ast$node)
\item 
void \hyperlink{class_graph_a5bfea1ccc964411aa92153270860b1ee}{add\-Connection} (\hyperlink{class_node}{Node}$<$ T $>$ $\ast$node, \hyperlink{class_node}{Node}$<$ T $>$ $\ast$add, int weight)
\item 
void \hyperlink{class_graph_a77fd6052bc67d5c1830b18e3812d93c1}{delete\-Connection} (\hyperlink{class_node}{Node}$<$ T $>$ $\ast$node, \hyperlink{class_node}{Node}$<$ T $>$ $\ast$remove)
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_inf_list}{Inf\-List}$<$ \hyperlink{class_node}{Node}$<$ T $>$ $>$ $\ast$ \hyperlink{class_graph_af62c1cd209fb61cada0cbc1b76caf829}{nodes}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$class T$>$class Graph$<$ T $>$}



Definition at line 16 of file Graph.\-h.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_graph_a8c626ac04708ae490bba05e1e713cda2}{\index{Graph@{Graph}!Graph@{Graph}}
\index{Graph@{Graph}!Graph@{Graph}}
\subsubsection[{Graph}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf Graph}$<$ T $>$\-::{\bf Graph} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{class_graph_a8c626ac04708ae490bba05e1e713cda2}


Definition at line 31 of file Graph.\-h.

\hypertarget{class_graph_a43eab1460b5c8ceaa526b40e56a0fb0c}{\index{Graph@{Graph}!$\sim$\-Graph@{$\sim$\-Graph}}
\index{$\sim$\-Graph@{$\sim$\-Graph}!Graph@{Graph}}
\subsubsection[{$\sim$\-Graph}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf Graph}$<$ T $>$\-::$\sim${\bf Graph} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{class_graph_a43eab1460b5c8ceaa526b40e56a0fb0c}


Definition at line 36 of file Graph.\-h.



\subsection{Member Function Documentation}
\hypertarget{class_graph_a5bfea1ccc964411aa92153270860b1ee}{\index{Graph@{Graph}!add\-Connection@{add\-Connection}}
\index{add\-Connection@{add\-Connection}!Graph@{Graph}}
\subsubsection[{add\-Connection}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ void {\bf Graph}$<$ T $>$\-::add\-Connection (
\begin{DoxyParamCaption}
\item[{{\bf Node}$<$ T $>$ $\ast$}]{node, }
\item[{{\bf Node}$<$ T $>$ $\ast$}]{add, }
\item[{int}]{weight}
\end{DoxyParamCaption}
)}}\label{class_graph_a5bfea1ccc964411aa92153270860b1ee}


Definition at line 51 of file Graph.\-h.



References Node$<$ T $>$\-::connect().

\hypertarget{class_graph_aa01a2734cac2bcb166a537de98af41f4}{\index{Graph@{Graph}!add\-Node@{add\-Node}}
\index{add\-Node@{add\-Node}!Graph@{Graph}}
\subsubsection[{add\-Node}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ void {\bf Graph}$<$ T $>$\-::add\-Node (
\begin{DoxyParamCaption}
\item[{{\bf Node}$<$ T $>$ $\ast$}]{node}
\end{DoxyParamCaption}
)}}\label{class_graph_aa01a2734cac2bcb166a537de98af41f4}


Definition at line 41 of file Graph.\-h.

\hypertarget{class_graph_a77fd6052bc67d5c1830b18e3812d93c1}{\index{Graph@{Graph}!delete\-Connection@{delete\-Connection}}
\index{delete\-Connection@{delete\-Connection}!Graph@{Graph}}
\subsubsection[{delete\-Connection}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ void {\bf Graph}$<$ T $>$\-::delete\-Connection (
\begin{DoxyParamCaption}
\item[{{\bf Node}$<$ T $>$ $\ast$}]{node, }
\item[{{\bf Node}$<$ T $>$ $\ast$}]{remove}
\end{DoxyParamCaption}
)}}\label{class_graph_a77fd6052bc67d5c1830b18e3812d93c1}


Definition at line 61 of file Graph.\-h.



References Node$<$ T $>$\-::disconnect().

\hypertarget{class_graph_a061fe121d976747e9c63a372243b1b76}{\index{Graph@{Graph}!delete\-Node@{delete\-Node}}
\index{delete\-Node@{delete\-Node}!Graph@{Graph}}
\subsubsection[{delete\-Node}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ void {\bf Graph}$<$ T $>$\-::delete\-Node (
\begin{DoxyParamCaption}
\item[{{\bf Node}$<$ T $>$ $\ast$}]{node}
\end{DoxyParamCaption}
)}}\label{class_graph_a061fe121d976747e9c63a372243b1b76}


Definition at line 46 of file Graph.\-h.



\subsection{Member Data Documentation}
\hypertarget{class_graph_af62c1cd209fb61cada0cbc1b76caf829}{\index{Graph@{Graph}!nodes@{nodes}}
\index{nodes@{nodes}!Graph@{Graph}}
\subsubsection[{nodes}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf Inf\-List}$<${\bf Node}$<$T$>$ $>$$\ast$ {\bf Graph}$<$ T $>$\-::nodes\hspace{0.3cm}{\ttfamily [private]}}}\label{class_graph_af62c1cd209fb61cada0cbc1b76caf829}


Definition at line 27 of file Graph.\-h.



The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
C\-:/\-Users/\-Axel/\-Desktop/informatica/\-Projects/\-Workspace C++/\-Game Engine/src/\-Math/\-Data Structures/\hyperlink{_graph_8h}{Graph.\-h}\end{DoxyCompactItemize}
